﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="YafMenu" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="YafMenu" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="YafMenu" msprop:Generator_UserDSName="YafMenu">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="YafMenuSection" msprop:Generator_UserTableName="YafMenuSection" msprop:Generator_RowEvArgName="YafMenuSectionRowChangeEvent" msprop:Generator_TableVarName="tableYafMenuSection" msprop:Generator_TablePropName="YafMenuSection" msprop:Generator_RowDeletingName="YafMenuSectionRowDeleting" msprop:Generator_RowChangingName="YafMenuSectionRowChanging" msprop:Generator_RowDeletedName="YafMenuSectionRowDeleted" msprop:Generator_RowEvHandlerName="YafMenuSectionRowChangeEventHandler" msprop:Generator_RowChangedName="YafMenuSectionRowChanged" msprop:Generator_TableClassName="YafMenuSectionDataTable" msprop:Generator_RowClassName="YafMenuSectionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HostAdminOnly" msprop:Generator_ColumnVarNameInTable="columnHostAdminOnly" msprop:Generator_ColumnPropNameInRow="HostAdminOnly" msprop:Generator_ColumnPropNameInTable="HostAdminOnlyColumn" msprop:Generator_UserColumnName="HostAdminOnly" type="xs:string" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="Tag" msprop:Generator_ColumnVarNameInTable="columnTag" msprop:Generator_ColumnPropNameInRow="Tag" msprop:Generator_ColumnPropNameInTable="TagColumn" msprop:Generator_UserColumnName="Tag" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
              <xs:element name="YafMenuItem" msprop:Generator_UserTableName="YafMenuItem" msprop:Generator_RowEvArgName="YafMenuItemRowChangeEvent" msprop:Generator_TableVarName="tableYafMenuItem" msprop:Generator_TablePropName="YafMenuItem" msprop:Generator_RowDeletingName="YafMenuItemRowDeleting" msprop:Generator_RowChangingName="YafMenuItemRowChanging" msprop:Generator_RowDeletedName="YafMenuItemRowDeleted" msprop:Generator_RowEvHandlerName="YafMenuItemRowChangeEventHandler" msprop:Generator_RowChangedName="YafMenuItemRowChanged" msprop:Generator_TableClassName="YafMenuItemDataTable" msprop:Generator_RowClassName="YafMenuItemRow" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title" type="xs:string" minOccurs="0" />
                    <xs:element name="ForumPage" msprop:Generator_ColumnVarNameInTable="columnForumPage" msprop:Generator_ColumnPropNameInRow="ForumPage" msprop:Generator_ColumnPropNameInTable="ForumPageColumn" msprop:Generator_UserColumnName="ForumPage" type="xs:string" minOccurs="0" />
                    <xs:element name="Image" msprop:Generator_ColumnVarNameInTable="columnImage" msprop:Generator_ColumnPropNameInRow="Image" msprop:Generator_ColumnPropNameInTable="ImageColumn" msprop:Generator_UserColumnName="Image" type="xs:string" minOccurs="0" />
                    <xs:element name="Link" msprop:Generator_ColumnVarNameInTable="columnLink" msprop:Generator_ColumnPropNameInRow="Link" msprop:Generator_ColumnPropNameInTable="LinkColumn" msprop:Generator_UserColumnName="Link" type="xs:string" minOccurs="0" />
                    <xs:element name="Debug" msprop:Generator_ColumnVarNameInTable="columnDebug" msprop:Generator_ColumnPropNameInRow="Debug" msprop:Generator_ColumnPropNameInTable="DebugColumn" msprop:Generator_UserColumnName="Debug" type="xs:string" minOccurs="0" />
                    <xs:element name="SubForumPage_0" msprop:Generator_ColumnVarNameInTable="columnSubForumPage_0" msprop:Generator_ColumnPropNameInRow="SubForumPage_0" msprop:Generator_ColumnPropNameInTable="SubForumPage_0Column" msprop:Generator_UserColumnName="SubForumPage_0" type="xs:string" minOccurs="0" />
                    <xs:element name="SubForumPage_1" msprop:Generator_ColumnVarNameInTable="columnSubForumPage_1" msprop:Generator_ColumnPropNameInRow="SubForumPage_1" msprop:Generator_ColumnPropNameInTable="SubForumPage_1Column" msprop:Generator_UserColumnName="SubForumPage_1" type="xs:string" minOccurs="0" />
                    <xs:element name="SubForumPage_2" msprop:Generator_ColumnVarNameInTable="columnSubForumPage_2" msprop:Generator_ColumnPropNameInRow="SubForumPage_2" msprop:Generator_ColumnPropNameInTable="SubForumPage_2Column" msprop:Generator_UserColumnName="SubForumPage_2" type="xs:string" minOccurs="0" />
                  </xs:sequence>
                  <xs:attribute name="YafMenuSection_Id" msprop:Generator_ColumnVarNameInTable="columnYafMenuSection_Id" msprop:Generator_ColumnPropNameInRow="YafMenuSection_Id" msprop:Generator_ColumnPropNameInTable="YafMenuSection_IdColumn" msprop:Generator_UserColumnName="YafMenuSection_Id" type="xs:int" use="prohibited" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title" type="xs:string" />
            <xs:attribute name="YafMenuSection_Id" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnYafMenuSection_Id" msprop:Generator_ColumnPropNameInRow="YafMenuSection_Id" msprop:Generator_ColumnPropNameInTable="YafMenuSection_IdColumn" msprop:Generator_UserColumnName="YafMenuSection_Id" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//YafMenuSection" />
      <xs:field xpath="@YafMenuSection_Id" />
    </xs:unique>
    <xs:keyref name="YafMenuSection_YafMenuItem" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserChildTable="YafMenuItem" msprop:rel_Generator_ChildPropName="GetYafMenuItemRows" msprop:rel_Generator_ParentPropName="YafMenuSectionRow" msprop:rel_Generator_UserRelationName="YafMenuSection_YafMenuItem" msprop:rel_Generator_RelationVarName="relationYafMenuSection_YafMenuItem" msprop:rel_Generator_UserParentTable="YafMenuSection">
      <xs:selector xpath=".//YafMenuItem" />
      <xs:field xpath="@YafMenuSection_Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>